package com.example.livereplay.common.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@EqualsAndHashCode
public class InsertAttachmentRequest {
    @Schema(description = "用户id")
    @NotEmpty(message = "用户id不能为空")
    private String userId;

    @Schema(description = "类型")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @Schema(description = "视频id列表")
    @NotEmpty(message = "视频id列表不能为空")
    private List<String> attachmentId;
}
